<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en_EN" lang="en_En">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<script src="<?php echo base_url()?>js/jquery-1.6.4.min.js" type="text/javascript"></script>
		<script src="<?php echo base_url()?>js/equalizer.js" type="text/javascript"></script>
		<link rel="stylesheet" href="<?php echo base_url()?>css/style.css" type="text/css"/>
		<title>Login</title>
		<base href="<?php echo base_url()?>" />
	</head>
	<body id="login">
		<div id="wrapper">
			<div id="header-wrapper">
				<?php include_once('include/header_login.php') ?>
			</div>
			<div id="content">
				<div id="login-form">
					<div id="login-form-top">
						<span class="login-header">Login Now</span>
					</div>
					<div id="login-form-content">
						<div id="login-form-error">
							<?php echo validation_errors(); ?>
							<?php if(isset($loginError)):
							?>
							<p><?php echo $loginError?> </p>
							<?php endif?>
						</div>
						<?php echo form_open('login'); ?>
							<div class="login-input">
								<input id="login-username" class="text-input" name="username" type="text" onclick="EmptyOnClick('login-username', 'Username')" value="<?php if(set_value('username') == ""){ echo "Username";}else{ echo set_value('username');} ?>" />
							</div>
							<div class="login-input">
								<input id="login-password" onclick="EmptyOnClick('login-password', 'xxxxxx')" class="text-input" name="password" type="password" value="<?php if(set_value('username') == ""){ echo "xxxxxx";}else{ echo '';} ?>" />
							</div>
							<div class="bottom-area">
								<div class="forgot-password-link">
									<a href="<?php echo site_url("forgotpass")?>">Forgot password</a>
								</div>
								<div class="login-button">
									<input class="submit-login" type="submit" name="submit-login" value="Sign-in" />
								</div>
								<div class="clear"></div>
							</div>
							<div class="clear"></div>
						</form>
					</div>
					<div id="login-form-bottom">
					</div>
				</div>
			</div>
			<div id="footer-wrapper">
				<?php include_once('include/footer.php') ?>
			</div>
		</div>
	</body>
</html>